package com.kevis.zhunblog.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.kevis.zhunblog","com.kevis.webCommon"})
@MapperScan(basePackages = {"com.kevis.zhunblog.mapper"})
////开启方法注解缓存
//@EnableMethodCache(basePackages = "com.kevis.zhunblog")
//@EnableCreateCacheAnnotation
//@ConfigurationPropertiesScan("com.kevis.common.constant")
public class ZhunBlogApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZhunBlogApplication.class,args);
        System.out.println("启动成功~");
    }
}
